#ifndef DEFINES_H
#define DEFINES_H

enum FILETYPE
{
    BOOKMARK=0, FOLDER=1
};

struct item
{
    QString name;
    QStringList tags;
    QString address;
    QString thumbPath;
    FILETYPE type;
};

enum BROWSER
{
    CHROME = 0, FIREFOX = 1, IE = 2, OPERA = 3
};

enum COLSDATA
{
    NAME=0,TAG=1,ADDR=2,THUMB=3,TYPE=4
};

#define CHROMEPATH "\\Google\\Chrome\\Application\\chrome.exe"
#define BOOKMARKSTR QString("0")
#define FOLDERSTR QString("1")

#define TOTYPESTR(a) ((a) == (BOOKMARK) ? (BOOKMARKSTR) : (FOLDERSTR))

#endif // DEFINES_H
